package com.class05.config;

import com.class05.ioc01.B;
import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class JavaConfigB {



    @Bean
    public B b(){
        return new B();
    }
}
